﻿@model FILSTARTUPS_MOBILE.Models.ForgotPasswordModel

@{
    ViewBag.Title = "ForgotPassword";
    Layout = "~/Views/Shared/_LayoutArticles.cshtml";
}

<h2>ForgotPassword</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm("ForgotPassword", "Home", FormMethod.Post)) 
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>ForgotPasswordModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.emailaddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.emailaddress)
            @Html.ValidationMessageFor(model => model.emailaddress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.confirmemailaddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.confirmemailaddress)
            @Html.ValidationMessageFor(model => model.confirmemailaddress)
        </div>

         <div data-role="fieldcontain">
        <div class="editor-label">
            @Html.LabelFor(model => model.secretquestion)
        </div>
        <div class="editor-field">
            <select id="secretquestion" name="secretquestion">
                <option value="What is the name of your favorite sports team?">What is the name of your favorite sports team?</option>
                <option value="What is the name of your favorite book?">What is the name of your favorite book?</option>
                <option value="What was your first pet's name?">What was your first pet's name?</option>
                <option value="What is the name of the street on which you grew up?">What is the name of the street on which you grew up?</option>
            </select>
            @Html.ValidationMessageFor(model => model.secretquestion)
        </div>
    </div> 

        <div class="editor-label">
            @Html.LabelFor(model => model.secretanswer)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.secretanswer)
            @Html.ValidationMessageFor(model => model.secretanswer)
        </div>

        <p>
            <input type="submit" value="Submit" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
